﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Collections.Specialized;

namespace GAM_Web_Designer_Pro.Forms {
    public partial class AddAKeywordForm : Form {

        private String[] strings;

        public String[] Keywords {
            get {
                return strings;
            }
            set {
                strings = value;
            }
        }

        public AddAKeywordForm() {
            InitializeComponent();
        }

        private void button1_Click( object sender, EventArgs e ) {
            strings = textBox1.Text.Trim().Split( ',' );
            this.DialogResult = DialogResult.OK;
            this.Close();
        }
    }
}
